package com.crm.redis.service.cluePoolManager;

import com.crm.model.entity.cluePoolManager.CluePoolPublic;

/**
 * @author luojie
 * @date 2021/5/13 15:54
 */
public interface CluePoolPublicRedisService {

    /**
     * 根据公共线索池id查询线索池基本信息缓存
     * @param cluePoolPublicId
     * @return
     */
    CluePoolPublic getCluePoolPublicById(String cluePoolPublicId);

    /**
     * 根据id增加/更新公共线索池信息
     * @param cluePoolPublic  片区信息
     * @return
     */
    Boolean setCluePoolPublicById(CluePoolPublic cluePoolPublic);

    /**
     * 根据id删除公共线索池信息
     * @param cluePoolPublicId
     * @return
     */
    Boolean deleteCluePoolPublicById(String cluePoolPublicId);

}
